﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Configuration;
using System.Data.SqlClient;
using System.Data;

public partial class _Default : System.Web.UI.Page 
{
    protected void Page_Load(object sender, EventArgs e)
    {
        //string strcon = ConfigurationManager.ConnectionStrings["strcon"].ConnectionString;
        //SqlConnection con = new SqlConnection(strcon);
        //con.Open();
        SqlConnection con = DataAccess.Connection;
        if (con.State == ConnectionState.Open)
            Response.Write("Connecting");
        else
            Response.Write("Not connect");
    }
}
